using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using ESoft.Core.Data;
using ESoft.Core.Data.Entity;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace ESoft.Portal.Data.Domain.Entity
{
    /// <summary>
    /// UOrg
    /// </summary>    
	[Table("u_org")]
    public partial class UOrgEntity : BaseModel
    {
		/// <summary>
        /// 
        /// </summary>
		[Key] 
		[Column("ORG_ID")]
        public string OrgId { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("ORG_NAME")]
        public string OrgName { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("MOBILE_PHONE")]
        public string MobilePhone { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("FAX")]
        public string Fax { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("QQ_NUM")]
        public string QqNum { get; set; }
		/// <summary>
        /// 
        /// </summary> 
		[Column("ADDRESS")]
        public string Address { get; set; }
    }

		public class UOrgConfiguration : EntityMappingConfiguration<UOrgEntity>
    {
        public override void Map(EntityTypeBuilder<UOrgEntity> b)
        {
        }
    }
}

